<!doctype html>
<html lang="en">

<head>
  <meta charset="UTF-8" />
  <link rel="icon" type="image/svg+xml" href="/vite.svg" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>Vite + Vue + TS</title>
</head>
<style>
  html {

    cursor: url("./Button.cur"), auto;
    /* https://s.nmxc.ltd/sakurairo_vision/@2.5/cursor/normal.cur */
  }

  .cursor {
    width: 5px;
    height: 5px;
  }

  * {
    padding: 0;
    margin: 0;
  }

  .preloading {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(19, 203, 105);
  }

  .loading {
    position: relative;
    width: 100px;
    height: 50px;
    margin: 50px auto;
  }

  .loading span {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #3498db;
    opacity: 0.5;
    border-radius: 100%;
    animation: anim 1s infinite ease-in-out;
  }

  .loading> :nth-child(2) {
    left: 20px;
    animation-delay: 0.2s;
  }

  .loading> :nth-child(3) {
    left: 40px;
    animation-delay: 0.4s;
  }

  .loading> :nth-child(4) {
    left: 60px;
    animation-delay: 0.6s;
  }

  .loading> :nth-child(5) {
    left: 80px;
    animation-delay: 0.8s;
  }

  @keyframes anim {
    0% {
      opacity: 0.3;
      transform: translateY(0px);
    }

    50% {
      opacity: 1;
      transform: translateY(-10px);
      background: #f9cdff;
    }

    100% {
      opacity: 0.3;
      transform: translateY(0px);
    }
  }
</style>

<body>
  <div id="app">
    <div class="preloading">
      <div class="loading">
        <span></span>
        <span></span>
        <span></span>
        <span></span>
        <span></span>
      </div>
    </div>
  </div>
  <script type="module" src="/src/main.ts"></script>
</body>

</html>